package com.xbongbong.paas.service;

import com.xbongbong.paas.pojo.dto.SignInSetDetailDTO;
import com.xbongbong.paas.pojo.dto.SignInSetUpdateDTO;
import com.xbongbong.paas.pojo.vo.SignInSetVO;
import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.paas.toolbox.wrap.XbbResponse;

/**
 * 签到设置
 *
 * @author youli.chen
 * @version v1.0
 * @date 2019/1/9 18:54
 * @since v1.0
 */
public interface SignInSetService {

    /**
     * 获取签到设置
     *
     * @param signInSetDetailDTO 获取签到设置入参
     * @return SignInSetVO
     * @throws XbbException 业务异常
     */
    XbbResponse<SignInSetVO> getSignInSet(SignInSetDetailDTO signInSetDetailDTO) throws XbbException;

    /**
     * 更新签到设置
     *
     * @param signInSetUpdateDTO 更新签到入参
     * @return SignInSetVO
     * @throws XbbException 业务异常
     */
    XbbResponse<SignInSetVO> updateSignInSet(SignInSetUpdateDTO signInSetUpdateDTO) throws XbbException;
}
